package com.ruoyi.hr.domain.welfare.welfarecalculationconfig;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 福利基数实体类
 * 表名 CCD_BENEFITBASE
 * @author zeo
 * @date 2019-12-26
 */
public class CcdBenefitbase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "序号", readConverterExp = "$column.readConverterExp()")
    private Long id;

    /** $column.columnComment */
    @Excel(name = "区域", readConverterExp = "$column.readConverterExp()")
    private Long pzid;

    /** $column.columnComment */
    @Excel(name = "代码", readConverterExp = "$column.readConverterExp()")
    private String code;

    /** $column.columnComment */
    @Excel(name = "标题", readConverterExp = "$column.readConverterExp()")
    private String title;

    /** $column.columnComment */
    @Excel(name = "？失效", readConverterExp = "$column.readConverterExp()")
    private Long isdisabled;

    /** $column.columnComment */
    @Excel(name = "？默认", readConverterExp = "$column.readConverterExp()")
    private Long isdefault;

    /** $column.columnComment */
    @Excel(name = "？锁定", readConverterExp = "$column.readConverterExp()")
    private Long islock;

    /** $column.columnComment */
    @Excel(name = "排序", readConverterExp = "$column.readConverterExp()")
    private Long xorder;

    /** $column.columnComment */
    @Excel(name = "福利基数类型", readConverterExp = "$column.readConverterExp()")
    private Long xtype;

    //福利基数类型名称
    private String xtypeName;

    private String remark;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getXtypeName() {
        return xtypeName;
    }

    public void setXtypeName(String xtypeName) {
        this.xtypeName = xtypeName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPzid(Long pzid) 
    {
        this.pzid = pzid;
    }

    public Long getPzid() 
    {
        return pzid;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIsdisabled(Long isdisabled) 
    {
        this.isdisabled = isdisabled;
    }

    public Long getIsdisabled() 
    {
        return isdisabled;
    }
    public void setIsdefault(Long isdefault) 
    {
        this.isdefault = isdefault;
    }

    public Long getIsdefault() 
    {
        return isdefault;
    }
    public void setIslock(Long islock) 
    {
        this.islock = islock;
    }

    public Long getIslock() 
    {
        return islock;
    }
    public void setXorder(Long xorder) 
    {
        this.xorder = xorder;
    }

    public Long getXorder() 
    {
        return xorder;
    }
    public void setXtype(Long xtype) 
    {
        this.xtype = xtype;
    }

    public Long getXtype() 
    {
        return xtype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pzid", getPzid())
            .append("code", getCode())
            .append("title", getTitle())
            .append("isdisabled", getIsdisabled())
            .append("isdefault", getIsdefault())
            .append("islock", getIslock())
            .append("xorder", getXorder())
            .append("xtype", getXtype())
            .append("remark", getRemark())
            .toString();
    }
}
